package com.atguigu.crowd.service.api;

import com.atguigu.crowd.entity.vo.AddressVO;
import com.atguigu.crowd.entity.vo.OrderProjectVO;
import com.atguigu.crowd.entity.vo.OrderVO;
import org.springframework.stereotype.Service;

import java.util.List;

public interface OrderService {

    //查询多个表 拿到OrderProjectVO对象 封装进OrderProjectVO
    OrderProjectVO getOrderProjectVO(Integer projectId, Integer returnId);

    //查询t_address表 根据用户ID
    List<AddressVO> getAddressVOList(Integer memberId);

    //保存地址
    void saveAddress(AddressVO addressVO);

    //保存订单信息
    void saveOrder(OrderVO orderVO);
}
